<div class="controls" ng-controller="ViewLogin">
    <div class="col-control">
        <input class="col-inner-control" ng-model="userName" type="text" placeholder="Please input your user name!" />
    </div>
    <div class="col-control">
        <input class="col-inner-control" ng-model="password" type="password" placeholder="Please input your password!" />
    </div>
    <div class="col-control" ng-click="onLogin()">
        Login
    </div>
</div>